#!/bin/sh

if [ `ps aux | grep memcached | grep 11211 | wc -l` != "1" ] 
then
	/usr/bin/curl "http://cacti.web.moxiu.com/cacti/moniter/moniter.php?h=48&e=mem" > /dev/null 2>&1
	/etc/init.d/memcached start
fi
